This folder provides the code and data to replicate the analyses in "The Facade of Control: The Political and Military Backlash to Curfews During Civil Conflicts", by Canavan and Turkoglu. 

Please first open "curfew.Rproj"

You can find all required datasets in the data folder. 

All R scripts can be find in the code folder. 

All required packages are in the code/_preamble.R file. 

1-elections-main-analysis.R replicates
	Table 1
	Table A1
	Table A5
	Table A6
	Table A3


2-parallel-trend-analysis.R replicates
	Table A2


3-weekly-attack-analysis.R replicates
	Figure 1
	Figure A2
	Figure A1
	Table 2
	Table A7
	Table A4


4-weekly-attack-curfew-day-excluded-analysis.R
	Table A8


5-only-attack-week-analysis.R
	Figure A3




R session information: 

R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: MacOS Ventura 13.01.
